import request from '@/untils/http'

// 创建订单
export const createOrderAPI = (data) => {
    return request({
      url: '/member/order',
      method: 'POST',
      data
    })
  }
//   获取订单
export const getOrderAPI = (id) => {
  return request({
    url: `/member/order/${id}`
  })
}

